Draft
Conversation
… into refactor/mainwindow
- 新增 10 个 UserControl 到 MainWindow_controls 目录 - PPT 导航控件: PPTNavigationBottomLeft/Right, PPTNavigationSideLeft/Right - 选择工具栏: StrokeSelectionToolbar, ImageSelectionToolbar - 图像控制: ImageResizeHandles - 颜色画笔: PenColorPalette, HighlighterColorPalette, PenSettingsPanel - 每个控件包含依赖属性和路由事件接口 - 修复 ikw:SimpleStackPanel 和 UniformGrid 命名空间引用 - MainWindow.xaml 添加 mwcontrols 命名空间声明
- 减少 MainWindow.xaml 从 10,966 行到 8,873 行(-2,093 行,达成 2,000+ 目标) - 集成 11 个 UserControl:StrokeSelectionToolbar, ImageSelectionToolbar, ImageResizeHandles, PenSettingsPanel (x2), PenColorPalette (x2), HighlighterColorPalette (x2), PPTNavigationBottomLeft, PPTNavigationBottomRight, PPTNavigationSideLeft, PPTNavigationSideRight - 更新 PPTUIManager.cs 使用 UserControl API 替代直接元素访问 - 更新相关代码文件以使用新的 UserControl API - 构建通过(0 错误)
Ultraworked with Sisyphus Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with Sisyphus Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Member
|
建议迁移至net6分支 |
Member
|
@CJKmkp 不知道你对coauthor的态度是什么...合并该pr可能会导致Github贡献者增加sisyphus-dev-ai |
Member
啊这 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
重构了代码
将mainwindow.xaml拆分成多个小文件,提升可维护性
(部分参考了https://github.com/doudou0720/ICC-CE/issues/19,在次感谢)